#ifndef _BSP_UART_H_
#define _BSP_UART_H_

#ifdef __cplusplus
 extern "C" {
#endif
#include "includes.h"



void DR16_mailbox_init(void); 
void BSP_UART_Init(void);
void USART1_DMA_Send(uint8_t *pbuffer, uint32_t size);
void USART3_DMA_Send(uint8_t *pbuffer, uint32_t size);	 
void USART6_DMA_Send(uint8_t *pbuffer, uint32_t size);	 
uint16_t USART_DMA_RX_LEN(DMA_Stream_TypeDef* DMAy_Streamx,uint16_t BufSize);	
void Usart_mailbox_init(void);
uint8_t Usart_receive (uint32_t ctrl,void **msg, uint16_t timeout);	 
uint8_t DataCheck(uint8_t **p);
#ifdef __cplusplus
         }
#endif	
#endif
